﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Harkon.AppServer.cOne.DataAccess
{
    [Entity(TableName="TestEntity")]
    public class TestEntity : Entity
    {
        [PkProperty(Name = "Id", PropertyType = typeof(Guid))]
        public Guid Id
        {
            get { return (Guid)Properties["Id"].Value; }
            set { Properties["Id"].Value = value; }
        }

        [Property(Name = "Name", PropertyType = typeof(string))]
        public string Name
        {
            get { return (string)Properties["Name"].Value; }
            set { Properties["Name"].Value = value; }
        }
    }
}
